include config.mk

SUBDIRS = \
  miniboot \
  blink \
  uart 

.DEFAULT_GOAL := all

.PHONY: all
all:
	$(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir) $@ && ) true

.PHONY: install
install:
	$(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir) $@ && ) true

.PHONY: clean
clean:
	$(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir) $@ && ) true

